﻿using System;
using Newtonsoft.Json;
using System.ComponentModel.DataAnnotations.Schema;
using YiSha.Util;

namespace YiSha.Entity.QixingManage
{
    /// <summary>
    /// 创 建：admin
    /// 日 期：2025-03-23 22:24
    /// 描 述：实体类
    /// </summary>
    [Table("RefundItems")]
    public class RefundItemsEntity : BaseEntity
    {
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? refund_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? pw_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? goods_id { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? orderDetailId { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string goods_name { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        [JsonConverter(typeof(StringJsonConverter))]
        public long? skuid { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public int? product_count { get; set; }
        /// <summary>
        /// 商品销售价格
        /// </summary>
        /// <returns></returns>
        public float? refund_price { get; set; }
        /// <summary>
        /// 
        /// </summary>
        /// <returns></returns>
        public string skuName { get; set; }

        public string image { get; set; }

        /// <summary>
        /// 车架号
        /// </summary>
        [NotMapped]
        public string VIN { get; set; }
    }
}
